/**
 *
 * 项目 all url
 */
const HOST = 'http://localhost:3000' //服务器地址

const REGISTER_URL = `${HOST}/users/register` //注册
const LOGIN_URL = `${HOST}/users/login` //登录

//------------------------------------------- 以下api需要先校验登录 --------------------------------------------------------
const GET_USER_INFO_URL = `${HOST}/users/getUserInfo` //获取用户信息
const CREATE_COMMENT_URL = `${HOST}/comment/create` //创建评论
const COMMENT_LIST_URL = `${HOST}/comment/list` //获取评论列表
const COMMENT_DEL_URL = `${HOST}/comment/del` //删除评论
const COMMENT_UPDATE_URL = `${HOST}/comment/update` //更新评论

export {
  REGISTER_URL,
  LOGIN_URL,
  GET_USER_INFO_URL,
  CREATE_COMMENT_URL,
  COMMENT_LIST_URL,
  COMMENT_DEL_URL,
  COMMENT_UPDATE_URL
}
